package com.gr.smartedubackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gr.smartedubackend.model.dto.student.StudentQueryByTeacherDto;
import com.gr.smartedubackend.model.dto.student.StudentQueryRequest;
import com.gr.smartedubackend.model.dto.student.StudentUpdateRequest;
import com.gr.smartedubackend.model.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author 尘轩
 * @description 针对表【student(学生)】的数据库操作Service
 * @createDate 2025-07-01 15:42:32
 */
public interface StudentService extends IService<Student> {

    QueryWrapper<Student> getQueryWrapper(StudentQueryRequest studentQueryRequest);

    String updateClassStudentNum(StudentUpdateRequest studentUpdateRequest);

    Page<Student> listStudentByPageByTeacher(StudentQueryByTeacherDto studentQueryByTeacherDto);
}
